package com.fortune.service;

import com.fortune.dto.in.mStoreOut.MStoreOutListDto;
import com.fortune.vo.mStoreOut.MStoreOutInfo;
import com.fortune.vo.mStoreOut.MStoreOutInfoDetail;
import com.fortune.vo.mStoreOut.MStoreOutInfoDetailIn;

import java.util.List;

public interface MStoreOutService {
    /**
     * 查询出库单列表
     * @param companyId
     * @param mStoreOutListDto
     * @return
     */
    List<MStoreOutInfo> queryMStoreOutList(String companyId,MStoreOutListDto mStoreOutListDto);

    /**
     * 查询出库单列表个数
     * @param companyId
     * @param mStoreOutListDto
     * @return
     */
    int queryMStoreOutListCount(String companyId,MStoreOutListDto mStoreOutListDto);

    /**
     * 出库单详情
     * @param companyId
     * @return
     */
    MStoreOutInfoDetail queryMStoreOutInfoDetail(String companyId,String id);

    /**
     * 用于经销商入库的出库单详情
     * @param companyId
     * @param id
     * @return
     */
    MStoreOutInfoDetailIn queryMStoreOutInfoDetailIn(String companyId, String id);

    /**
     * 修改发货状态
     * @param companyId
     * @param detail
     * @return
     */
    int updateMStoreOutShipType(String companyId,MStoreOutInfoDetailIn detail,String id);
}
